home *** CD-ROM | disk | FTP | other *** search
INI File | 1996-09-25 | 1.7 KB | 46 lines |
- [Group List]
- Waves=1
- Dial tones=1
- Effects=1
- Noise=1
- Music=1
-
- [Waves]
- Triangle, f is freq=1-2*abs(1-2*f*t%2)
- Sine, f is freq in Hz=sin(2*pi*f*t)
- Square, f is freq=cos(pi*int(2*f*t))
- Sweep=sin( pi*300*t^2 )
- Fast square=int(2*t*f)%2*2-1
- Full scale sweep=sin(pi*t*(n/N/T/2))
- Sweep to f=sin(pi*t*(n/N*f))
-
- [Dial Tones]
- 1=(sin(4379*t)+sin(7596*t))/2
- 2=(sin(4379*t)+sin(8394*t))/2
- 3=(sin(4379*t)+sin(9280*t))/2
- A=(sin(4379*t)+sin(10260*t))/2
- 4=(sin(4838*t)+sin(7596*t))/2
- 5=(sin(4838*t)+sin(8394*t))/2
- 6=(sin(4838*t)+sin(9280*t))/2
- B=(sin(4838*t)+sin(10260*t))/2
- 7=(sin(5353*t)+sin(7596*t))/2
- 8=(sin(5353*t)+sin(8394*t))/2
- 9=(sin(5353*t)+sin(9280*t))/2
- C=(sin(5353*t)+sin(10260*t))/2
- *=(sin(5912*t)+sin(7596*t))/2
- 0=(sin(5912*t)+sin(8394*t))/2
- #=(sin(5912*t)+sin(9280*t))/2
- D=(sin(5912*t)+sin(10260*t))/2
- "987-6543"=(sin(5353*t)+sin(9280*t))/2*(step(t-.1)-step(t-.22)) + (sin(5353*t)+sin(8394*t))/2*(step(t-.3)-step(t-.42)) + (sin(5353*t)+sin(7596*t))/2*(step(t-.5)-step(t-.62)) + (sin(4838*t)+sin(9280*t))/2*(step(t-.7)-step(t-.82)) + (sin(4838*t)+sin(8394*t))/2*(step(t-.9)-step(t-1.02)) + (sin(4838*t)+sin(7596*t))/2*(step(t-1.1)-step(t-1.22)) + (sin(4379*t)+sin(9280*t))/2*(step(t-1.3)-step(t-1.42))
-
- [Effects]
- Tremolo, try f < 10=wave(n) * (0.6 + 0.4 * sin(2*pi*f*t))
-
- [Noise]
- Brown=wave1(n-1)+rand(0.5)-0.25
- White=rand(2)-1
-
- [Music]
- Twinkle on xylophone=(sin(2*261*pi*t)*(step(t)-step(t-1))+ sin(2*392*pi*t)*(step(t-1)-step(t-2))+ sin(2*440*pi*t)*(step(t-2)-step(t-3))+ sin(2*392*pi*t)*(step(t-3)-step(t-3.5))+ sin(2*349*pi*t)*(step(t-4)-step(t-5))+ sin(2*329*pi*t)*(step(t-5)-step(t-6))+ sin(2*293*pi*t)*(step(t-6)-step(t-7))+ sin(2*261*pi*t)*(step(t-7)-step(t-7.5)))*(1-2*abs(1-2*.5*t%.5))
-
-